__author__ = '付鹏飞'

if __name__ == '__main__':
    str1 = str(1234)
    print(type(str1))
    print(str1[:3])
    print(str1[1:])
    print(str1[1:2])  # [首:尾]
